package com.inoneone.youba.mcht.dto.rsp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.inoneone.youba.mcht.util.CustomDecimalSerialize;

import java.math.BigDecimal;
import java.util.Date;

public class MyTankerRsp {
    private String tankerId;

    private String mchId;

    private String mchName;

    private String name;

    private String brands;

    private String oilType;

    private String modelType;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal price;

    private String installAddr;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal fuelCharge;

    private Integer fuelCount;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal remainFuel;

    private Integer status;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date installDate;

    public String getTankerId() {
        return tankerId;
    }

    public void setTankerId(String tankerId) {
        this.tankerId = tankerId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getMchName() {
        return mchName;
    }

    public void setMchName(String mchName) {
        this.mchName = mchName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBrands() {
        return brands;
    }

    public void setBrands(String brands) {
        this.brands = brands;
    }

    public String getOilType() {
        return oilType;
    }

    public void setOilType(String oilType) {
        this.oilType = oilType;
    }

    public String getModelType() {
        return modelType;
    }

    public void setModelType(String modelType) {
        this.modelType = modelType;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getInstallAddr() {
        return installAddr;
    }

    public void setInstallAddr(String installAddr) {
        this.installAddr = installAddr;
    }

    public BigDecimal getFuelCharge() {
        return fuelCharge;
    }

    public void setFuelCharge(BigDecimal fuelCharge) {
        this.fuelCharge = fuelCharge;
    }

    public Integer getFuelCount() {
        return fuelCount;
    }

    public void setFuelCount(Integer fuelCount) {
        this.fuelCount = fuelCount;
    }

    public BigDecimal getRemainFuel() {
        return remainFuel;
    }

    public void setRemainFuel(BigDecimal remainFuel) {
        this.remainFuel = remainFuel;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getInstallDate() {
        return installDate;
    }

    public void setInstallDate(Date installDate) {
        this.installDate = installDate;
    }
}